package edu.sctu.zhuyingzhi.month201506.day20150618.awtTest;

import java.awt.*;

/**
 * Created by user13 on 2015/6/18.
 */
public class CheckBoxTest {

    public static void checkbox(){
        Frame frame = new Frame("复选框");

        frame.setSize(200,200);
        frame.setLayout(new GridLayout());
//        frame.add(new Checkbox("111"));
//        frame.add(new Checkbox("222"));
//        frame.add(new Checkbox("333"));
        frame.add(new TextArea(6,6));
//        frame.setBounds(100,100,200,150);
        frame.setVisible(true);

    }
}
